home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / m / gec63.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1.9 KB  |  68 lines

  1. /* machine description file for gec63
  2.    Copyright (C) 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /* The following line tells the configuration script what sort of 
  23.    operating system this machine is likely to run.
  24.    USUAL-OPSYS="usg5-2"  */
  25.  
  26. /* Say this machine is a 68000 */
  27.  
  28. #define gec63
  29.  
  30. /* Use an int to represent Lisp_Object */
  31.  
  32. #define NO_UNION_TYPE
  33.  
  34. /* GEC63 has alloca in the PW/ux63 library.  */
  35. #define LIB_STANDARD -lPW -lc
  36. #define HAVE_ALLOCA
  37.  
  38. /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
  39.    since there is no /dev/kmem */
  40.  
  41. #undef ADDR_CORRECT(x)
  42.  
  43. #undef TERMCAP
  44. #define TERMINFO
  45.  
  46. #define NO_REMAP
  47.  
  48. /* The rest of the file certainly needs updating for Emacs 19.29!  */
  49.  
  50. /* I'm certain none of this works with XEmacs. -jwz */
  51. #error fixme
  52.  
  53. /* Define sizes of portions of a Lisp_Object.  */
  54. #define VALBITS 24
  55.   
  56. #define VALAMASK (((1<<VALBITS) - 1)| 0xF0000000L)
  57.  
  58. #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK))
  59. #define XSETTYPE(a, b) ((a)  =  ((a) & VALAMASK)  +  ((int)(b) << VALBITS))
  60.  
  61. #define XPNTR(a) ((a) & VALAMASK)
  62.  
  63. #define XSET(var, type, ptr) \
  64.    ((var) = ((int)(type) << VALBITS) + ((int) (ptr) & VALAMASK))
  65.  
  66. /* Move some garbage-collector flag bits to different bit positions.  */
  67. #define ARRAY_MARK_FLAG (1 << 27)
  68.